package com.ibm.sample.library.dao;

import java.util.List;

public interface IGenericDao<T>
{
    T getById(long id);

    List<T> findAll();

    Long save(T entity);

    void update(T entity);

    void delete(T entity);

    void deleteById(long id);
}
